package com.cims.bpm.security.utils.security;

public class Constants {

	/**
	 * 文件编码类型
	 */
	public static final String CS_UTF8 = "UTF-8";
	public static final String CS_GBK = "GBK";
	public static final String CS_GB2312 = "GB2312";
	
	/**
	 * 工作模式
	 */
	//电子密码本模式
	public static final String MODE_EBC = "EBC";
	//加密分组链接模式
	public static final String MODE_CBC = "CBC";
	//加密反馈模式
	public static final String MODE_CFB = "CFB";
	//输出反馈模式
	public static final String MODE_OFB = "OFB";
	
	/**
	 * 填充模式
	 */
	public static final String PAD_NO = "NoPadding";
	public static final String PAD_PKCS1 = "PKCS1Padding";
	public static final String PAD_PKCS5 = "PKCS5Padding";
}
